Skip to content

Conversation

@albertomercurio
Copy link
Member

@albertomercurio albertomercurio commented Dec 14, 2024

Checklist

Thank you for contributing to QuantumToolbox.jl! Please make sure you have finished the following tasks before opening the PR.

  • Please read Contributing to QuantumToolbox.jl.
  • Any code changes were done in a way that does not break public API.
  • Appropriate tests were added and tested locally by running: make test.
  • Any code changes should be julia formatted by running: make format.
  • All documents (in docs/ folder) related to code changes were updated and able to build locally by running: make docs.
  • (If necessary) the CHANGELOG.md should be updated (regarding to the code changes) and built by running: make changelog.

Request for a review after you have completed all the tasks. If you have not finished them all, you can also open a Draft Pull Request to let the others know this on-going work.

Description

This PR slightly changes the structure of the block diagonalization function. The bdf name was too general, and I chose to change it to block_diagonal_form. Moreover, I added also the related docstrings.

@albertomercurio albertomercurio marked this pull request as ready for review December 14, 2024 17:42
@codecov
Copy link

codecov bot commented Dec 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.66%. Comparing base (91cf211) to head (e260ca1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #349      +/-   ##
==========================================
- Coverage   93.37%   92.66%   -0.72%     
==========================================
  Files          40       40              
  Lines        2688     2684       -4     
==========================================
- Hits         2510     2487      -23     
- Misses        178      197      +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ytdHuang ytdHuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@albertomercurio albertomercurio merged commit 3ffdd3d into qutip:main Dec 15, 2024
22 of 24 checks passed
labay11 pushed a commit to labay11/QuantumToolbox.jl that referenced this pull request Dec 22, 2024
* Change block diagonal form structure

* Add changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants